//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['The Amity Affliction','Knitting Factory Spokane','Spokane, WA','Wednesday','5/1/2024','6:30 PM','6231975','The-Amity-Affliction-5-1-2024'],['An Orchestral Rendition of Dr. Dre 2001','Knitting Factory Spokane','Spokane, WA','Monday','5/6/2024','8:30 PM','6218957','An-Orchestral-Rendition-of-Dr--Dre-2001-5-6-2024'],['INZO','Knitting Factory Spokane','Spokane, WA','Thursday','5/9/2024','7:00 PM','6131294','INZO-5-9-2024'],['Static X & Sevendust','Knitting Factory Spokane','Spokane, WA','Friday','5/10/2024','6:15 PM','6208819','Static-X---Sevendust-5-10-2024'],['Sam Barber','Knitting Factory Spokane','Spokane, WA','Thursday','5/16/2024','8:00 PM','6029962','Sam-Barber-5-16-2024'],['Dying Fetus','Knitting Factory Spokane','Spokane, WA','Monday','5/20/2024','8:00 PM','6229646','Dying-Fetus-5-20-2024'],['Portugal. The Man','Knitting Factory Spokane','Spokane, WA','Thursday','5/23/2024','8:00 PM','6252550','Portugal--The-Man-5-23-2024'],['Kaivon','Knitting Factory Spokane','Spokane, WA','Thursday','5/30/2024','7:00 PM','6244928','Kaivon-5-30-2024'],['The Wallflowers','Knitting Factory Spokane','Spokane, WA','Saturday','6/1/2024','8:00 PM','6242185','The-Wallflowers-6-1-2024'],['Taking Back Sunday','Knitting Factory Spokane','Spokane, WA','Thursday','6/6/2024','8:00 PM','6132189','Taking-Back-Sunday-6-6-2024'],['Krooked Kings','Knitting Factory Spokane','Spokane, WA','Friday','6/7/2024','8:00 PM','6348189','Krooked-Kings-6-7-2024'],['Northlane','Knitting Factory Spokane','Spokane, WA','Sunday','6/23/2024','7:00 PM','6327843','Northlane-6-23-2024'],['Emo Nite','Knitting Factory Spokane','Spokane, WA','Saturday','6/29/2024','8:00 PM','6361902','Emo-Nite-6-29-2024'],['Wheeler Walker Jr.','Knitting Factory Spokane','Spokane, WA','Wednesday','7/10/2024','8:00 PM','6306431','Wheeler-Walker-Jr--7-10-2024'],['Soja','Knitting Factory Spokane','Spokane, WA','Sunday','7/21/2024','8:00 PM','6401776','Soja-7-21-2024'],['STRFKR','Knitting Factory Spokane','Spokane, WA','Thursday','7/25/2024','8:00 PM','6205981','STRFKR-7-25-2024'],['Aaron Watson','Knitting Factory Spokane','Spokane, WA','Saturday','7/27/2024','8:00 PM','6281631','Aaron-Watson-7-27-2024'],['Shakey Graves','Knitting Factory Spokane','Spokane, WA','Saturday','8/10/2024','8:00 PM','6371035','Shakey-Graves-8-10-2024'],['King Buzzo & Trevor Dunn','Knitting Factory Spokane','Spokane, WA','Sunday','8/11/2024','8:00 PM','6227360','King-Buzzo---Trevor-Dunn-8-11-2024'],['Treaty Oak Revival','Knitting Factory Spokane','Spokane, WA','Thursday','8/15/2024','8:00 PM','6312114','Treaty-Oak-Revival-8-15-2024'],['Built To Spill','Knitting Factory Spokane','Spokane, WA','Friday','8/16/2024','8:00 PM','6362159','Built-To-Spill-8-16-2024'],['Alex G','Knitting Factory Spokane','Spokane, WA','Saturday','8/17/2024','8:00 PM','6220342','Alex-G-8-17-2024'],['K. Flay','Knitting Factory Spokane','Spokane, WA','Monday','8/19/2024','8:00 PM','6403132','K--Flay-8-19-2024'],['Alvvays','Knitting Factory Spokane','Spokane, WA','Wednesday','8/21/2024','8:00 PM','6277578','Alvvays-8-21-2024'],['Joy Oladokun','Knitting Factory Spokane','Spokane, WA','Thursday','8/22/2024','8:00 PM','6408619','Joy-Oladokun-8-22-2024'],['The Get Up Kids','Knitting Factory Spokane','Spokane, WA','Friday','9/6/2024','8:30 PM','6407033','The-Get-Up-Kids-9-6-2024'],['Extreme & Living Colour','Knitting Factory Spokane','Spokane, WA','Sunday','9/8/2024','8:00 PM','6385162','Extreme---Living-Colour-9-8-2024'],['Mother Mother','Knitting Factory Spokane','Spokane, WA','Thursday','9/12/2024','8:00 PM','6396612','Mother-Mother-9-12-2024'],['Ricky Montgomery','Knitting Factory Spokane','Spokane, WA','Wednesday','9/25/2024','8:00 PM','6398782','Ricky-Montgomery-9-25-2024'],['Dylan Gossett','Knitting Factory Spokane','Spokane, WA','Tuesday','10/1/2024','8:00 PM','6396750','Dylan-Gossett-10-1-2024'],['Stop Light Observations','Knitting Factory Spokane','Spokane, WA','Thursday','10/31/2024','8:00 PM','6406798','Stop-Light-Observations-10-31-2024'],['Enter Shikari','Knitting Factory Spokane','Spokane, WA','Friday','11/1/2024','7:00 PM','6402872','Enter-Shikari-11-1-2024']],'Knitting Factory Spokane','http://www.ticketnetwork.com/ticket/Knitting-Factory-Spokane-events.aspx');